#include <stdio.h>
#include <string.h>
struct student
{
    char name[20];
    int age;
    char address[100];
    float score;
}stu;


int main()
{
    struct student stu1;
    char a[20],b[100];
    int c;
    float d;
    printf("====请输入姓名，年龄，家庭住址，考试成绩=====");
    printf("\n");
    scanf("%19s %d %99s %f",a,&c,b,&d);
    
    strcpy(stu1.name,a);
    stu1.age = c;
    strcpy(stu1.address,b);
    stu1.score = d;

    printf("==========================\n");
    printf("%s\n",stu1.name);
    printf("%d\n",stu1.age);
    printf("%s\n",stu1.address);
    printf("%f\n",stu1.score);

    
}